#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

void m_sort(int* p, int l, int r)
{
	if (l >= r)
	{
		return;
	}
	int mid = (l + r) / 2;
	m_sort(p, 0, mid);
	m_sort(p, mid + 1, r);

}
int main()
{
	int arr[] = { 3,3,8,9,7,2,6,2,4,6,2,3,64,10, };
	int sz = sizeof(arr) / sizeof(arr[0]);
	m_sort(arr, 0, sz - 1);
}